/**
 * Created by IntelliJ IDEA
 *
 * @author zhengjie
 * @Date:2022/1/7 16:48
 * @Version 1.0
 */
package com.zj.ssm.mapper;

import com.zj.ssm.pojo.domain.Staff;
import com.zj.ssm.pojo.domain.query.StaffQuery;
import com.zj.ssm.pojo.domain.vo.StaffVO;

import java.util.List;

public interface StaffMapper {
        List<Staff> queryStaff(StaffQuery query);
        Long queryStaffTotal(StaffQuery query);

        int addStaff(StaffVO staffVO);

        StaffVO getSta(Integer id);

        int updateSta(StaffVO staffVO);

        int updatePeo(Integer id);

        int peoUpdate(Integer id);
}

